package com.dailyblue.project.smbms.alibaba.commons.bean;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.dailyblue.project.smbms.alibaba.commons.util.JsonResult;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("smbms_goods")
public class Goods implements Serializable {

    private static final long serialVersionUID = -1468966259795379855L;
    private Integer id;
    private String goodsCode;
    private String goodsName;
    private String goodsUnit;
    private Double goodsPrice;
    private String goodsCreationTime;
    private String goodsDesc;
    private Integer providerId;
    private Integer goodsState;
    @TableField(exist = false)
    private JsonResult provider;
    @TableField(exist = false)
    private Integer cartNum;
    @TableField(exist = false)
    private Double total;
}
